#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# day8

# 了不起的分支和循环3

favoirte = 'Tommy'
for i in favoirte:
	print('-',i,'-')


example = ['香蕉','苹果','西红柿','小布丁']
for i in example:
	print('==',i,'==')

# for i in range(5):
	# print(i)


# for i in range(2,9):
# 	print(i)


# for i in range(1,10,2):
# 	if i > 5:
# 		break
# 	print(i)

for i in range(1,10,2):
	if i > 5:
		print(i)
	else:
		print('continue')
	


# 总结：
# while循环；for循环（计数器循环）;range()
# 两个关键的语句:brak,continue

